<style>
.btn.btn-success {
    background: #6499fa;
}
</style>
<div class='fui-page fui-page-current'>
    <div class="fui-header">
		<div class="fui-header-left">
			<a class="back" ng-click="goback()"></a>
		</div>
		<div class="title">实名认证</div> 
		<div class="fui-header-right">&nbsp;</div>
    </div>
    <div class="fui-content">
		<div class="c" style="background:#6499fa;padding-bottom:4rem;border-bottom-right-radius:5rem;border-bottom-left-radius:5rem;">
			<div class="c">
				<img style="width:60%" ng-src="{{tomedia(pagedata.item.backimage) || '../addons/jy_mayizlb/image/renz.png'}}" />
			</div>
			<div class="c" style="margin-top:-1rem;font-size:0.7rem">
				<p class="c" style="color:#fff">{{pagedata.account.title}}承诺身份信息仅限租赁流程使用，</p>
				<p class="c" style="color:#fff">不会向任何人泄露用户个人信息。</p>
			</div>
		</div>
		<div style="padding:0.5rem;margin-top:-4rem">
		<div class='fui-cell-group radius' ng-if="pagedata.item.isrealname!=1">
			<div class="fui-cell">
                <div class="fui-cell-label bold">真实姓名</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="真实姓名" ng-model="pagedata.item.realname"/></div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label bold">身份证号码</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="身份证号码" ng-model="pagedata.item.cardnum"/></div>
            </div>
			<!--<div class="fui-cell">
                <div class="fui-cell-label">身份证正面</div>
                <div class="fui-cell-info" ng-if="pagedata.item.image">
					<img class="round" style="width:100%" ng-click="image(pagedata.item,'image')" ng-src="{{tomedia(pagedata.item.image) || '../core/resource/images/nopic.jpg'}}" />
				</div>
				<div class="fui-cell-info weui_uploader_input_wrp" ng-if="!pagedata.item.image">
					<span class="weui_uploader_input" ng-click="image(pagedata.item,'image')" accept="image/jpg,image/jpeg,image/png,image/gif" multiple=""></span>
				</div>
            </div>
			<div class="fui-cell">
                <div class="fui-cell-label">身份证反面</div>
                <div class="fui-cell-info" ng-if="pagedata.item.backimage">
					<img class="round" style="width:100%" ng-click="image(pagedata.item,'backimage')" ng-src="{{tomedia(pagedata.item.backimage) || '../core/resource/images/nopic.jpg'}}" />
				</div>
				<div class="fui-cell-info weui_uploader_input_wrp" ng-if="!pagedata.item.backimage">
					<span class="weui_uploader_input" ng-click="image(pagedata.item,'backimage')" accept="image/jpg,image/jpeg,image/png,image/gif" multiple=""></span>
				</div>
            </div>-->
		</div>
		<div class='fui-cell-group'>
			<div class="fui-cell">
                <div class="fui-cell-label bold">收货人姓名</div>
                <div class="fui-cell-text">
					<div>{{pagedata.item.realname}}</div>
					<div class="subtile" style="font-size:0.6rem;color:#999">（收货人姓名需与上面实名认证的姓名一致）</div>
				</div>
            </div>
		</div>
		</div>
		<a ng-if="pagedata.item.isrealname!=1" href="javascript:;" class='btn btn-success block' style="line-height: 2.6;" ng-click="post(pagedata.item,'jy_mayizlb/index/post/')">开始认证</a>
		<a ng-if="pagedata.item.isrealname==1" href="javascript:;" class='btn btn-success block' style="line-height: 2.6;" ng-click="pagedata.item.isrealname=0">开始认证</a>
	</div>
</div>